#include <iostream>
#include <iomanip>
#include <vector>
#include <ctime>
#include <cstdlib>
using namespace std;

int main()
{
    srand ((unsigned)time(NULL));

    const int TIMES = 36000;
    vector<int> numbers (11, 0);

    for (int i = 0; i < TIMES; ++i)
    {
        int foo = rand () % 6 +1;
        int bar = rand () % 6 +1;
        numbers[foo + bar - 2]++;
    }

    for (int i = 0; i < 11; ++i)
        cout << setw (4) << i + 2 << setw (8) << numbers[i] << endl;

    return 0;
}
        
